package com.wangjiangwen.service;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.wangjiangwen.bean.user.CaptchaVO;
import com.wangjiangwen.bean.user.ChangePasswordDTO;
import com.wangjiangwen.bean.user.LoginDTO;
import com.wangjiangwen.bean.user.UserVO;
import com.wangjiangwen.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gavin
 * @since 2024-07-01
 */
public interface UserService extends IService<User> {

    CaptchaVO getCaptCha(String type);

    SaTokenInfo login(LoginDTO loginDTO);

    void logout();

    UserVO getInfo();

    void changePassword(ChangePasswordDTO changePasswordDTO);
}
